package tree;

public class TreeNode_94 {
    int val;
    TreeNode_94 left;
    TreeNode_94 right;

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public TreeNode_94 getLeft() {
        return left;
    }

    public void setLeft(TreeNode_94 left) {
        this.left = left;
    }

    public TreeNode_94 getRight() {
        return right;
    }

    public void setRight(TreeNode_94 right) {
        this.right = right;
    }

    public TreeNode_94() {
    }

    public TreeNode_94(TreeNode_94 right) {
        this.right = right;
    }

    public TreeNode_94(int val, TreeNode_94 left, TreeNode_94 right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
